import request from '../utils/request'

export function addCart (params) {
  return request.post('/cart/add', params)
}

export function getCartList (params) {
  return request.post('/cart/list', params)
}

export function updateCartNum (params) {
  return request.post('/cart/updatenum', params)
}

export function removeCart (params) {
  return request.post('/cart/remove', params)
}

export function selectall (params) {
  return request.post('/cart/selectall', params)
}


export function selectone (params) {
  return request.post('/cart/selectone', params)
}
